package com.ytjj.qmyx.admin.service;

import com.ytjj.qmyx.admin.model.SupplyChainMsg;
import com.ytjj.qmyx.admin.model.request.SupplyChainBrandRequest;
import com.ytjj.qmyx.admin.model.request.exportInterface.NotifyOrderInfoRequest;
import com.ytjj.qmyx.admin.model.request.goods.GoodsRequest;
import com.ytjj.qmyx.admin.model.request.goods.UpdateOrderExpressRequest;
import com.ytjj.qmyx.admin.model.request.goods.UpdateProductFreightRequest;
import com.ytjj.qmyx.mall.model.ProductSpec;

import java.util.List;

public interface ReceiveSupplyChainMsgService {

    void notifyProductUpdate(Integer type,String msg,Integer productId);

    void notifyOrderUpdate(NotifyOrderInfoRequest request);

    List<SupplyChainMsg> queryMsgList(Integer type);

    SupplyChainMsg findById(Integer id);

    void addOrUpdateBrand(SupplyChainBrandRequest request);

    void updateChannelProductSpecSupplyPrice(List<ProductSpec> request);

    void updateChannelProductCategory(GoodsRequest goodsRequest);

    int updateOrderExpress(UpdateOrderExpressRequest request);
}
